<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
</head>
</head>
<body>
<div>
    <a href="./精灵图.html"><h1>精灵图</h1></a>
    <a href="./五星图.html"><h1>五星图</h1></a>
    <a href="./展示源码.html"><h1>展示源码</h1></a>
    <a href="./背景练习.html"><h1>背景练习</h1></a>
    <a href="./渐变练习.html"><h1>渐变练习</h1></a>
    <a href="../css大任务2.html"><h1>首页</h1></a>
    
    <style>
        * {
            margin: 0;
            padding: 0;
            user-select: none;
        }
        body{
          background:url("./背景.webp");background-attachment: fixed;
          background-size: cover;
    }
        div {
            position: absolute;
            transform: translate(-50%, -50%);
            width: 50%;
            height: 40%;
            margin: 20% 60%;
        }
        a {
            background-color: #00000076;
            width: 50%;
            height: 30%;
            margin: 1%;
            border-radius: 12px;
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        a:hover {
            background-color: rgb(0, 123, 255);
        }


    </style>
</div>
</body>
</html>